package com.pwt.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @author dw
 * @version 1.0.0
 * @date 2022/1/22
 */
@Data
@Schema(name = "云之家消息模型")
public class CloudMessageModel {

    @Schema(name = "k0010",description = "机器名称")
    private String k0010;

    @Schema(name = "k2002",description = "被测参数名称")
    private String k2002;

    @Schema(name = "k0014",description = "零件编号")
    private String k0014;

    @Schema(name = "k2110",description = "上限")
    private Double k2110;

    @Schema(name = "k2111",description = "下限")
    private Double k2111;

    @Schema(name = "dateTime",description = "测试时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date k0004;

    @Schema(name = "k0001",description = "测量值")
    private Double k0001;

}
